<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <meta content="text/html; charset=UTF-8"
        http-equiv="content-type"/>
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="/cassaco/media/css/style.css" />
</head>

<body>
    <div id="loginBox">
        <h1>Login</h1>
		{% if form.errors %}
				<p>Your username and password didn't match. Please try again.</p>
        {% endif %}
        <form action="." method="POST">
            <table>
                <tr>
                    <td class="label">
                        <label for="id_username">Username:</label>
                    </td>
                    <td class="field">
                       {{form.username}}
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        <label for="id_password">Password:</label>
                    </td>
                    <td class="field">
                        {{form.password}}
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="buttons">
                        <input type="submit" name="login" value="Login"/>
                    </td>
                </tr>
            </table>
			   <input type="hidden" name="next" value="{{next}}" />
            </div>
        </form>
    </div>
</body>
</html>
